﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
     class Father
    {
        private string pingpai;
        private string style;

        public string Pingpai 
        {
            get { return this.pingpai; }
            set { this.pingpai = value; }
        }
        public string Style
        {
            get { return this.style; }
            set { this.style = value; }
        }
        public Father() { }
        public Father(string pingpai,string style) 
        {
            this.pingpai = pingpai;
            this.style = style;
        
        }
        public void Run()
        {
            Console.WriteLine("我是{0}品牌的车，型号为{1}",this.pingpai,this.style);

        }
    }
    
}
